package com.len.mapper;

import com.len.base.BaseMapper;
import com.len.entity.TDemand;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DemandMapper extends BaseMapper<TDemand,String> {
    @Select("select * from t_demand order by add_time desc ")
    List<TDemand> selectListByPage(TDemand tProductNotice);

    @Select("select * from t_product_demand where order_no = #{orderNo}")
    List<TDemand> selectListByOrderNo(String orderNo);
}
